package com.market.service.wx.impl;

import com.market.bean.MarketFeedback;
import com.market.mapper.MarketFeedbackMapper;
import com.market.service.wx.WxFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @Author:WalterChan
 * @Decription:WxFeedbackServiceImpl
 * @Date Created in 2023-01-02-10:47
 */
@Service
public class WxFeedbackServiceImpl implements WxFeedbackService {

    @Autowired
    MarketFeedbackMapper marketFeedbackMapper;


    @Override
    public void submit(MarketFeedback marketFeedback) {
        Date date = new Date();
        marketFeedback.setAddTime(date);
        marketFeedback.setUpdateTime(date);

        int result = marketFeedbackMapper.insertSelective(marketFeedback);



    }
}
